#ifndef __BEEP_H
#define __BEEP_H
#ifdef __cplusplus
extern "C"{
#endif

#include "rtthread.h"

#define BEEP_PERIOD   1500
#define BEEP_ON_TIME  50
#define BEEP_OFF_TIME 100

#define BEEP_TUNE_VALUE 500
#define BEEP_CTRL_VALUE 150



void beep_ctrl_times();
void beep_set_tune(rt_uint32_t tune, rt_uint32_t ctrl);
int32_t beep_set_times(uint8_t times);

#ifdef __cplusplus
}
#endif

#endif // BEEP_H